.class public Lcom/waiqin365/lightwork/tracker/model/u;
.super Landroid/widget/BaseAdapter;

# interfaces
.implements Landroid/widget/Filterable;


# instance fields
.field public a:Z

.field public b:Ljava/lang/String;

.field public c:Ljava/util/ArrayList;

.field private d:Landroid/content/Context;

.field private e:Landroid/view/LayoutInflater;

.field private f:Lcom/waiqin365/lightwork/tracker/d/a;

.field private g:Lcom/waiqin365/lightwork/tracker/model/ac;

.field private h:Z

.field private i:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;)V
    .locals 4

    const/4 v0, 0x1

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->h:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->i:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->a:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->b:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    sget-object v3, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v1, v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    invoke-virtual {v1, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->b:Ljava/lang/String;

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->e:Landroid/view/LayoutInflater;

    new-instance v0, Lcom/waiqin365/lightwork/tracker/model/ac;

    invoke-direct {v0, p2}, Lcom/waiqin365/lightwork/tracker/model/ac;-><init>(Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->g:Lcom/waiqin365/lightwork/tracker/model/ac;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->g:Lcom/waiqin365/lightwork/tracker/model/ac;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/model/v;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/model/v;-><init>(Lcom/waiqin365/lightwork/tracker/model/u;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/ac;->a(Lcom/waiqin365/lightwork/tracker/model/ae;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/model/u;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightwork/tracker/model/u;->d(Z)V

    return-void
.end method

.method private d(Z)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->f:Lcom/waiqin365/lightwork/tracker/d/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->f:Lcom/waiqin365/lightwork/tracker/d/a;

    invoke-interface {v0, p1}, Lcom/waiqin365/lightwork/tracker/d/a;->a(Z)V

    :cond_0
    return-void
.end method


# virtual methods
.method public a(I)Lcom/waiqin365/lightwork/tracker/model/t;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public a(Lcom/waiqin365/lightwork/tracker/d/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->f:Lcom/waiqin365/lightwork/tracker/d/a;

    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->h:Z

    return-void
.end method

.method public b(I)I
    .locals 3

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/model/u;->getCount()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->l:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v0

    if-ne v0, p1, :cond_0

    :goto_1
    return v1

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    const/4 v1, -0x1

    goto :goto_1
.end method

.method public b(Ljava/util/ArrayList;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method public b(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->i:Z

    return-void
.end method

.method public c(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->a:Z

    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getFilter()Landroid/widget/Filter;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->g:Lcom/waiqin365/lightwork/tracker/model/ac;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/ac;->a()Landroid/widget/Filter;

    move-result-object v0

    return-object v0
.end method

.method public synthetic getItem(I)Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightwork/tracker/model/u;->a(I)Lcom/waiqin365/lightwork/tracker/model/t;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 12

    const v11, 0x7f0804f3

    const/4 v10, 0x4

    const/16 v9, 0x8

    const/4 v4, 0x1

    const/4 v5, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    if-nez p2, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->e:Landroid/view/LayoutInflater;

    const v2, 0x7f030267

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v2, Lcom/waiqin365/lightwork/tracker/model/w;

    const/4 v1, 0x0

    invoke-direct {v2, p0, v1}, Lcom/waiqin365/lightwork/tracker/model/w;-><init>(Lcom/waiqin365/lightwork/tracker/model/u;Lcom/waiqin365/lightwork/tracker/model/v;)V

    const v1, 0x7f0c0bae

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->a:Landroid/view/View;

    const v1, 0x7f0c0bb0

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    const v1, 0x7f0c0bb1

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    const v1, 0x7f0c0bb4

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->d:Landroid/widget/TextView;

    const v1, 0x7f0c0bb2

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->g:Landroid/widget/TextView;

    const v1, 0x7f0c0bb5

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->e:Landroid/widget/TextView;

    const v1, 0x7f0c0bb7

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->f:Landroid/widget/TextView;

    const v1, 0x7f0c0bb6

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    const v1, 0x7f0c0bb3

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->i:Landroid/widget/TextView;

    const v1, 0x7f0c0baf

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->j:Landroid/view/View;

    const v1, 0x7f0c0bb8

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->k:Landroid/view/View;

    invoke-virtual {p2, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v1

    iget-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v7

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v8

    invoke-virtual {v8}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v8

    invoke-virtual {v7, v8}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_2

    if-nez p1, :cond_2

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const/high16 v7, 0x42200000    # 40.0f

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v6

    iput v6, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v6, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    const/high16 v7, 0x41700000    # 15.0f

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v5}, Landroid/graphics/Paint;->setFakeBoldText(Z)V

    :goto_1
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne p1, v1, :cond_3

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->k:Landroid/view/View;

    invoke-virtual {v1, v10}, Landroid/view/View;->setVisibility(I)V

    :goto_2
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->g:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->n:Ljava/lang/String;

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, "km"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    iget-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/w;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v3, v1}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setTag(Ljava/lang/Object;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    iget-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/w;->c:Lcom/waiqin365/base/login/mainview/CircleImageView;

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->k:Ljava/lang/String;

    invoke-static {v1, v3, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->d:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->b:Ljava/lang/String;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->e:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->d:Ljava/lang/String;

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v1, ""

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    if-eqz v1, :cond_5

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/model/u;->b:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    new-instance v3, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm"

    invoke-direct {v3, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, ""

    :try_start_0
    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    invoke-virtual {v3, v6}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v6

    const-string/jumbo v7, "HH:mm"

    invoke-virtual {v3, v7}, Ljava/text/SimpleDateFormat;->applyPattern(Ljava/lang/String;)V

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v6}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, " "

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    :goto_3
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    invoke-virtual {v6, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_4
    iget-object v3, v2, Lcom/waiqin365/lightwork/tracker/model/w;->f:Landroid/widget/TextView;

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    invoke-virtual {v6, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    const-string/jumbo v7, "#808080"

    invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v7

    invoke-static {v1, v6, v7}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->i:Landroid/widget/TextView;

    const-string/jumbo v3, "#666666"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->g:Landroid/widget/TextView;

    const-string/jumbo v3, "#2094e4"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    const-string/jumbo v1, "1"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_6

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    const-string/jumbo v3, "#808080"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const v7, 0x7f0805b3

    invoke-virtual {v6, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, "\uff1a"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_5
    if-nez p1, :cond_b

    move v1, v4

    :goto_6
    if-eqz v1, :cond_e

    iget-boolean v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->h:Z

    if-eqz v1, :cond_e

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->a:Landroid/view/View;

    invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v6

    invoke-virtual {v6}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_d

    if-nez p1, :cond_d

    iget-boolean v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->a:Z

    if-nez v1, :cond_c

    iget-object v0, v2, Lcom/waiqin365/lightwork/tracker/model/w;->a:Landroid/view/View;

    invoke-virtual {v0, v9}, Landroid/view/View;->setVisibility(I)V

    :goto_7
    return-object p2

    :cond_1
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightwork/tracker/model/w;

    move-object v2, v1

    goto/16 :goto_0

    :cond_2
    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const/high16 v7, 0x41d00000    # 26.0f

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v6

    iput v6, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v6, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    const/high16 v7, 0x41400000    # 12.0f

    invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v4}, Landroid/graphics/Paint;->setFakeBoldText(Z)V

    goto/16 :goto_1

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    add-int/lit8 v3, p1, 0x1

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightwork/tracker/model/t;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/model/t;->c:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/String;->charAt(I)C

    move-result v1

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->c:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v5}, Ljava/lang/String;->charAt(I)C

    move-result v3

    if-ne v1, v3, :cond_4

    iget-boolean v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->i:Z

    if-eqz v1, :cond_4

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->k:Landroid/view/View;

    invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_2

    :cond_4
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->k:Landroid/view/View;

    invoke-virtual {v1, v10}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_2

    :catch_0
    move-exception v3

    invoke-virtual {v3}, Ljava/text/ParseException;->printStackTrace()V

    goto/16 :goto_3

    :cond_5
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const v3, 0x7f0804f4

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    goto/16 :goto_4

    :cond_6
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_5

    :cond_7
    const-string/jumbo v1, "2"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_a

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    const-string/jumbo v3, "#f04702"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_8

    iget-object v1, v0, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_9

    :cond_8
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_8
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const/high16 v7, 0x7f080000

    invoke-virtual {v6, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, "\uff1a"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    :cond_9
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_8

    :cond_a
    const-string/jumbo v1, "3"

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    const-string/jumbo v3, "#B3B3B3"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->h:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/model/u;->d:Landroid/content/Context;

    const v7, 0x7f080599

    invoke-virtual {v6, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, "\uff1a"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v6, v0, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->g:Landroid/widget/TextView;

    const-string/jumbo v3, "--"

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->i:Landroid/widget/TextView;

    const-string/jumbo v3, "#B3B3B3"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->g:Landroid/widget/TextView;

    const-string/jumbo v3, "#B3B3B3"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_5

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/model/u;->c:Ljava/util/ArrayList;

    add-int/lit8 v3, p1, -0x1

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightwork/tracker/model/t;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/model/t;->c:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/String;->charAt(I)C

    move-result v1

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->c:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v5}, Ljava/lang/String;->charAt(I)C

    move-result v3

    if-eq v1, v3, :cond_f

    move v1, v4

    goto/16 :goto_6

    :cond_c
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->l:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_7

    :cond_d
    iget-object v1, v2, Lcom/waiqin365/lightwork/tracker/model/w;->b:Landroid/widget/TextView;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->l:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, v5, v4}, Ljava/lang/String;->subSequence(II)Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_7

    :cond_e
    iget-object v0, v2, Lcom/waiqin365/lightwork/tracker/model/w;->a:Landroid/view/View;

    invoke-virtual {v0, v9}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_7

    :cond_f
    move v1, v5

    goto/16 :goto_6
.end method
